package net.melon.sysres.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import net.esj.basic.pojo.AbstractPojo;

/**
 * 系统参数
 * @author Administrator
 *
 */
@Entity
@Table(name="SYS_PROPERTY")
public class SysProperty extends AbstractPojo<String> {

	@Id
	@Column(name="CODE")
	private String code;
	
	@Column(name="VALUE")
	private String value;
	
	@Column(name="DESCRIPTIONS")
	private String descriptions;
	
	@Override
	public String getId() {
		return code;
	}

	@Override
	public void setId(String id) {
		this.code = id;
	}


	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getDescriptions() {
		return descriptions;
	}

	public void setDescriptions(String descriptions) {
		this.descriptions = descriptions;
	}

}
